package model;

import java.sql.Timestamp;

public class Answer {

	private int answerId;
	private int qid; // quest id
	private String content;
	private int uid;
	private String memid;
	private Timestamp createdTime;
	private Timestamp updatedTime;

	public Answer() {

	}

	// �� ����
	public Answer(int qid, String content, int uid, Timestamp createdTime,
			Timestamp updatedTime) {
		this.qid = qid;
		this.content = content;
		this.uid = uid;
		this.createdTime = createdTime;
		this.updatedTime = updatedTime;
	}

	// �� ���ö�
	public Answer(int answerId, int qid, String content, int uid,
			Timestamp createdTime, Timestamp updatedTime) {
		this.answerId = answerId;
		this.qid = qid;
		this.content = content;
		this.uid = uid;
		this.createdTime = createdTime;
		this.updatedTime = updatedTime;
	}

	public Answer(int answerId, int qid, String memid, Timestamp createdTime) {
		this.answerId = answerId;
		this.qid = qid;
		this.memid = memid;
		this.createdTime = createdTime;
	}

	public Answer(int answerId, int qid, String content, int uid, String memid,
			Timestamp createdTime) {
		this.answerId = answerId;
		this.qid = qid;
		this.content = content;
		this.uid = uid;
		this.memid = memid;
		this.createdTime = createdTime;
		}

	public int getAnswerId() {
		return answerId;
	}

	public void setAnswerId(int answerId) {
		this.answerId = answerId;
	}

	public int getQid() {
		return qid;
	}

	public void setQid(int qid) {
		this.qid = qid;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public String getMemid() {
		return memid;
	}

	public void setMemid(String memid) {
		this.memid = memid;
	}

	public Timestamp getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Timestamp createdTime) {
		this.createdTime = createdTime;
	}

	public Timestamp getUpdatedTime() {
		return updatedTime;
	}

	public void setUpdatedTime(Timestamp updatedTime) {
		this.updatedTime = updatedTime;
	}

}
